//
//  PolygonShape.h
//  Assignment2A
//
//  Created by George Tso on 10/15/09.
//  Copyright 2009 __MyCompanyName__. All rights reserved.
//

#import <Cocoa/Cocoa.h>


@interface PolygonShape : NSObject {
	int numberOfSides, minimumNumberOfSides, maximumNumberOfSides;
	float angleInDegrees, angleInRadians;
	NSString *name;
}

@property (nonatomic) int numberOfSides;
@property (nonatomic) int minimumNumberOfSides;
@property (nonatomic) int maximumNumberOfSides;
@property (nonatomic, readonly) float angleInDegrees;
@property (nonatomic, readonly) float angleInRadians;
@property (nonatomic, readonly) NSString *name;

- (id)initWithNumberOfSides:(int)sides minimumNumberOfSides:(int)min 
	   maximumNumberOfSides:(int)max;
- (void)setNumberOfSIdes:(int)s;
- (NSString *)description;
@end
